@mixin ell {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    
}


.yonghu {
    width: 900px;
    margin: 50px auto 0;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
    border: 1px solid black;

    >div {
        padding: 0 20px;
        border: 1px solid black;
        float: left;

        >input {
            font-size: 16px;
            width: 70px;
            height: 43px;
            display: inline-block;
            border: 1px solid black;
        }
    }

}

.mainner {
    width: 900px;
    margin: 1px auto;
    min-height: 500px;
    border: 1px solid black;

    >.mainner-1 {
        height: 50px;
        line-height: 50px;
        background-color: blanchedalmond;

        >ul {
            >li {
                border: 1px solid black;
                margin: 0 20px;
                font-size: 16px;
                line-height: 48px;
                float: left;
                height: 48px;
                padding: 0 20px;

            }
        }




    }

    >.mainner-2 {
        width: 900px;
        min-height: 400px;
        position: relative;



        >ul {
            >li {
                width: 500px;
                height: 50px;
                font-size: 16px;
                line-height: 50px;
                margin: 10px 0;
                width: 898px;
                border: 1px solid black;

                >img {
                    margin-left: 20px;
                    float: left;
                    width: 50px;
                    height: 50px;
                }

                >span {
                    // background-color: #eeeeee;
                    display: inline-block;
                    margin: 0 0 0 10px;
                    padding: 0 0 0 5px;
                    width: 130px;
                    @include ell;
                }
                >:nth-child(4){
                    width: 100px;
                }
                >:nth-child(5){
                    width: 200px;
                }

                >button {
                    position: relative;
                    top: -20px;
                    display: inline-block;
                    color: white;
                    margin: 10px;
                    height: 30px;
                    width: 50px;
                    background-color: brown;
                }
            }
        }
        >.trater{
            background-color: blanchedalmond;
            display: none;
            position: absolute;
            left: 300px;
            top: 100px;
            width: 300px;
            height: 230px;
            border: 1px solid black;
            >p{
                display: block;
                margin: 20px  40px;
                >input{
                    border: 1px solid black;
                }
            }
            >button{
                position: relative;
                     left: 40px;
                    top: -20px;
                    display: inline-block;
                    color: white;
                    margin: 30px;
                    height: 30px;
                    width: 50px;
                    background-color: brown;
            }
        }



    }
}